package com.xiaoma.tpo.dao;

import org.springframework.stereotype.Repository;

import com.xiaoma.tpo.baseDao.BaseDaoImpl;
import com.xiaoma.tpo.domain.Activity;
import com.xiaoma.tpo.domain.TRight;
import com.xiaoma.verbal.baseDao.DefaultRowMapper;
@Repository
public class TRightDao extends BaseDaoImpl<TRight>{

	public void delete(Integer id) {
		String sql = "delete from t_right where id = "+id;
		jdbcTemplate.execute(sql);
	}

}
